package com.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.utils.Tree;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: chihaojie
 * @Date: 2019/6/5 14:07
 * @Version 1.0
 * @Note
 */

@Data
public class RoleDetailVO {


    private Long id;

    @ApiModelProperty("角色名称")
    private String roleName;
    @ApiModelProperty("角色码")
    private String roleCode;
    @ApiModelProperty("状态")
    private Byte status;
    @ApiModelProperty("创建时间")

    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss'Z'", timezone = "GMT+8")
    private Date createTime;

    private String created;

    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss'Z'", timezone = "GMT+8")
    private Date updateTime;

    private String updated;

    //角色关联的资源
    @ApiModelProperty("资源ids")
    private List<Long> resourceIds;

}
